package com.jymj.service;

import com.jymj.entity.EnviorSupvsLogEntity;
import com.jymj.entity.KeyValueEntity;
import com.jymj.entity.dto.*;
import com.jymj.entity.enviorFile.QueryParamDto;
import com.jymj.entity.fhtnty.EnviorFileFhEntity;
import com.jymj.entity.fhtnty.HomeEntity;
import com.jymj.entity.fhtnty.ScoreFhEntity;
import com.jymj.entity.landmanage.*;
import com.jymj.entity.model.PointAndTypeEntity;
import com.jymj.entity.vo.ComplaintsVo;
import com.jymj.entity.vo.QuestionCount;
import com.jymj.entity.zjd.ZjdCountEntity;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface EnviorSupvsService {
    PjEnviorSupvsEntity queryBypoint(String point);

    List<PjEnviorSupvsEntity> queryList(EnviorSupvsListDto enviorSupvsListDto);

    int queryTotal(Map<String, Object> map);

    Long save(PjEnviorSupvsEntity pjEnviorSupvsEntity);

    void delete(Integer id);

    void update(PjEnviorSupvsEntity pjEnviorSupvsEntity);

    void deleteBatch(Long[] ids);

    List<KeyValueEntity> queryListByqutype();

    List<KeyValueEntity> oneMonthList();

    List<KeyValueEntity> threeMonthList();

    List<KeyValueEntity> sixMonthList();

    boolean queryIstrue(String point);

    List<PjEnviorSupvsEntity> queryByYlPoint(String geometry);

    ZjdCountEntity queryAllCount(String point);

    List<KeyValueEntity> queryType(Map<String, Object> params);

    List<KeyValueEntity> queryByCun(CunZhenDto cunZhenDto);

    List<PointRecordEntity> queryPointList(PointPageDto pointPageDto);

    int queryPointTotal(Map<String, Object> params);

    PointRecordEntity savePoint(PointRecordEntity pointRecordEntity);

    void deletePoint(Integer[] ids);

    PjEnviorSupvsEntity queryInfo(Integer id);

    void saveRejected(PjEnviorRejectedEntity pjEnviorRejectedEntity);

    void updateBh(PjEnviorSupvsEntity pjEnviorSupvsEntity);

    List<PjEnviorRejectedEntity> queryRej(Integer id);

    List<PjEnviorSupvsEntity> queryByCode (Map<String, Object> params);

    Integer selectScoreByCode(String code);

    Integer selectScoreByListcode(List<String> codes);

    ScoreFhEntity queryScore(String code);

    List<PjEnviorSupvsEntity> queryBygeom(String geome);

    HomeEntity queryHome(ReportDto reportDto);

    List<HomeEntity> queryHomeZhen(ReportDto reportDto);

    List<JournalEntity> queryJournal(String date,Integer type);

    RjhjReport rjhjReport(ReportDto reportDto);

    ScoreReport scoreReport(String date);

    List<ScoreMonEntity> bhgcz(String date,Integer type);

    List<JournalEntity> queryDxwt(String date,Integer type);

    List<PjEnviorSupvsEntity> queryByXzqmc(String date,String code,Integer type,Integer[] hjzzsjs);

    void saveLog(PjEnviorSupvsLog pjEnviorSupvsLog);

    List<PjEnviorSupvsLog> enviorLog(String date);

    PjEnviorSupvsEntity queryHjpj(String point);

    List<EnviorSmsEntity> querySms();

    KeyValueEntity countByCode(EnviorSupvsListDto enviorSupvsDto);

    void updatePoint(PointRecordEntity pointRecordEntity);

    void fallBackQutype(Integer id, Integer qutype,String comment);

    PointRecordEntity queryPointInfo(Integer gddwid);

    String getXzqmcByDate(QueryParamDto queryParamDto) throws IOException;

    void rejected(PjEnviorSupvsEntity pjEnviorSupvsEntity);

    List<KeyValueEntity> queryByZhen(CunZhenDto cunZhenDto);

    List<EnviorFileFhEntity> getEnviorsByxy(PointAndTypeEntity pointAndTypeEntity);

    List<EnviorSmsEntity> querySmsByZhen();

    PointRecordEntity queryByPoint(String point);

    List<PjEnviorSupvsEntity> queryById(Integer gddwid);

    List<PjEnviorSupvsEntity> queryByXzq(String point);

    List<PjEnviorSupvsEntity> queryListByIds(Integer[] ids);

    void updateQutype(PjEnviorSupvsEntity pjEnviorSupvsEntity);

    List<EnviorSupvsLogEntity> getEnviorLog(EnviorSupvsLogEntity enviorSupvsLogEntity);

    void updateCount3();

    QuestionCount getQuestionCount();

    List<ComplaintsVo> getZgqk();

    List<KeyValueEntity> queryByDj(CunZhenDto cunZhenDto);

    void quertFile7();
}
